package com.nie.token_bucket.annotation;

import java.lang.annotation.*;

/**
 * 限制要求
 *
 * @author nie_cq
 * @date 2022/10/28
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LimitingRequired {
    /**
     * 要求
     *
     * @return boolean
     */
    boolean required() default true;
}
